package com.ruoyi.system.service;

import com.ruoyi.domain.request.UserRequest;

/**
 * @author 姚炜琦
 * @Classname RegistrationService
 * @Description TODO
 * @Date 2022/10/21 9:16
 */
public interface RegistrationService {
    /**
     * 根据手机号获取登录验证码
     * @param phone
     * @return
     */
    String getCode(String phone);

    /**
     * 用户注册
     * @param userRequest
     * @return
     */
    String addUser(UserRequest userRequest);
}
